package com.hp.ssm.xml.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("user")
public class Test {
    @RequestMapping("login")
    public String lopgin(){
        System.out.println("1方法进入");
        return "login";
    }
    @RequestMapping("reg")
    public String asdfasd(){
        System.out.println("2方法进入");
        return "register";
    }
}
